package com.guess.study.designpattern.singleton;

/**
 * Created by tianran on 2019-06-04.
 */
public class HungrySingleton {

    private static HungrySingleton singleton = new HungrySingleton();

    private HungrySingleton() {
        System.out.println("HungrySingleton Constructor");
    }

    public static HungrySingleton getInstance() {
        return singleton;
    }
}
